﻿using System.Collections.Generic;
using WeiboWPSdk.Json;

namespace WeiboWPSdk.ResponseEntity {
    public class Favorite : EntityBase {
        [JsonProperty("status")]
        public Status Status { get; internal set; }
        [JsonProperty("tags")]
        public IEnumerable<Tag> Tags { get; internal set; }
        [JsonProperty("favorited_time")]
        public string FavoritedTime { get; internal set; }
    }

    public class FavoriteId : EntityBase {
        [JsonProperty("status")]
        public long StatusId { get; internal set; }
        [JsonProperty("tags")]
        public IEnumerable<Tag> Tags { get; internal set; }
        [JsonProperty("favorited_time")]
        public string FavoritedTime { get; internal set; }
    }

    public class FavoriteCollection : EntityBase {
        [JsonProperty("favorites")]
        public IEnumerable<Favorite> Favorites { get; internal set; }
        [JsonProperty("total_number")]
        public int TotalNumber { get; internal set; }
    }

    public class FavoriteIdCollection : EntityBase {
        [JsonProperty("favorites")]
        public IEnumerable<FavoriteId> Favorites { get; internal set; }
        [JsonProperty("total_number")]
        public int TotalNumber { get; internal set; }
    }
}
